<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>08_流程控制语句-do-while循环</title>
    </head>
    <body>
        <script>
            // 需求：打印1到100
            var i = 1;

            do{
                console.log(i);
                i++;

            }while(i <= 100);
        </script>
    </body>
</html>